home *** CD-ROM | disk | FTP | other *** search
/ AOL File Library: 2,801 to 2,900 / aol-file-protocol-4400-2801-to-2900.zip / AOLDLs / C++ Files Library / HyperCuber Source / HyperCuber 2.0 Source.sit / HyperCuber 2.0 Source / CEditMouseControlsDialog.h < prev    next >
Text File  |  1994-04-13  |  1KB  |  37 lines

  1. //|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2. //| This file contains the interface to the CEditMouseControlsDialog class.  The
  3. //| CEditMouseControlsDialog class implements the dialog used to edit mouse controls.
  4. //|________________________________________________________________________________
  5.  
  6. #include "Mouse.h"
  7.  
  8. #include <CDialog.h>
  9.  
  10. CLASS CStdPopupPane;
  11. CLASS CCheckBox;
  12. CLASS CIntegerText;
  13. CLASS CDialogText;
  14.  
  15. class CEditMouseControlsDialog : public CDialog
  16.     {
  17.  
  18.     CStdPopupPane        *direction_popup;    //  Popup menu; the direction to track the mouse
  19.  
  20.     CCheckBox            *command_checkbox;    //  Checkbox indicating use of command key
  21.     CCheckBox            *option_checkbox;    //  Checkbox indicating use of option key
  22.     CCheckBox            *shift_checkbox;    //  Checkbox indicating use of shift key
  23.     CCheckBox            *control_checkbox;    //  Checkbox indicating use of control key
  24.  
  25.     CIntegerText        *multiplier_text;    //  The field containing the multiplier
  26.     CIntegerText        *dimension_text;    //  The dimension of angle to change
  27.     CDialogText            *angle_text;        //  The angle to change
  28.  
  29.   public:
  30.  
  31.     void    IEditMouseControlsDialog(short WindowID, CDesktop *enclosure,
  32.                                 CDirector *supervisor, mouse_control_struct *mouse_control);
  33.     
  34.     void    UpdateMouseControl(mouse_control_struct *mouse_control);
  35.     
  36.     };
  37.